package edu.zut;

import edu.zuoyelianxi.ForXunHuanMaiJi;
import javafx.scene.effect.Light;
//(成绩排序)     (从大到小)
import java.util.Scanner;
class muke{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double[] a = new double[5];
        for (int i = 0; i < a.length; i++) {
            a[i] = scanner.nextDouble();
        }//输入数组
        for (int j = 0; j < a.length-1; j++) {
            for (int k = 0; k < a.length - 1-j; k++) {
                if (a[k] > a[k + 1])
                    a[k] = a[k];
                else {
                    double temp = a[k];
                    a[k] = a[k + 1];
                    a[k + 1] = temp;
                }
            }//比大小
        }
        for (int i = 0; i <a.length ; i++) {
            System.out.println(a[i]);
        }
    }
}


//   int i;
//
//      for (i = 3; i <= 20; i++) {
//
//          if ((i % 2) == 0)
//
//              System.out.print(i + "  ");
//
//      }
//alt+enter 快速生成返回值
//String str = "Hello World";
//  System.out.println(str.substring(7));
//System.out.println(str.substring(0, 2));
//}

//}



